package com.wrupple.muba.common.client.activity;

import com.wrupple.muba.common.client.application.DataCallback;
import com.wrupple.muba.common.domain.DesktopPlace;
import com.wrupple.muba.common.shared.State.DesktopManager;

public class SimpleActivityTransition extends DataCallback<DesktopPlace> {
	
	private DesktopManager desktopmanager;
	
	public SimpleActivityTransition(DesktopManager desktopmanager) {
		super();
		this.desktopmanager = desktopmanager;
	}


	@Override
	public void execute() {
		desktopmanager.goTo(result);
	}

}
